package xyz.csmcool.imuser.service.impl;

import lombok.RequiredArgsConstructor;
import xyz.csmcool.imuser.entity.About;
import xyz.csmcool.imuser.mapper.AboutMapper;
import xyz.csmcool.imuser.service.IAboutService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author csmcool
 * @since 2022-08-03
 */
@Service
@RequiredArgsConstructor
public class AboutServiceImpl extends ServiceImpl<AboutMapper, About> implements IAboutService {

    final AboutMapper aboutMapper;

    @Override
    public About selectLastOne() {
        return aboutMapper.selectLastOne();
    }
}
